package Stream;

import java.util.*;
import java.util.stream.Stream;

public class Stream2 {
    public static void main(String[] args) {
            List<String> list = new ArrayList<>();
        Stream<String> stream1 = list.stream();

        Set<String> set = new HashSet<>();
        Stream<String> stream2 = set.stream();

        Map<String,String> map = new HashMap<>();
        Set<String> key = map.keySet();
        Stream stream3 = key .stream();

        Stream stream4 = Stream.of(1,2,3,4,5);

    }
}
